[[metric]]
context = "context_with_interval"
request = "SELECT 1 as value_1, 2 as value_2 FROM DUAL"
metricsdesc = { value_1 = "Simple example returning always 1.", value_2 = "Same but returning always 2." }
interval = 15  # every 15 seconds

[[metric]]
context = "context_with_cron"
labels = [ "label_1", "label_2" ]
request = "SELECT 1 as value_1, 2 as value_2, 'First label' as label_1, 'Second label' as label_2 FROM DUAL"
metricsdesc = { value_1 = "Simple example returning always 1.", value_2 = "Same but returning always 2." }
metricstype = { value_1 = "counter" }
cron = '*/5 * * * *' # every 5 minutes
